package Work6;
//	要求在控制台输出”HelloWorld”
public class OuterDemo {
    public static void main(String[] args) {
        Outer o = new A();
        o.show();
    }
}

interface Inter {
    void show();
}

abstract class Outer {
    //补齐代码
    public abstract void show();
}

class A extends Outer implements Inter{
    @Override
    public void show(){
        System.out.println("HelloWorld");
    }
}